/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.sale.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 预订单
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-10 23:04:30
 */
@Data
@ExcelTarget("probHeadEntity")
public class ProbHeadExportVO  {
	private static final long serialVersionUID = 1L;
    /**
     * 单据编号
     */
    private Long id;
    /**
	 * 预订单编码
	 */
    @Excel(name = "预订单编码", height = 20, width = 20,needMerge = true)
    private String probNo;


    /**
	 * 订单日期;format:yyyy-mm-dd
	 */
    @Excel(name = "订单日期", exportFormat = "yyyy-MM-dd",needMerge = true)
    private Date probDate;





    /**
	 * 门店名称;来源于base_store.customer_name
	 */
    @Excel(name = "门店名称", width = 30,needMerge = true)
    private String storeName;

    /**
	 * 客户编码;来源于base_customer.customer_code
	 */
    @Excel(name = "客户编码",needMerge = true)
    private String customerCode;


    /**
	 * 客户名称;来源于base_customer.customer_name
	 */
    @Excel(name = "客户名称",needMerge = true)
    private String customerName;


    /**
	 * 客户联系人;来源于base_customer.customer_contact_name
	 */
    @Excel(name = "客户联系人",needMerge = true)
    private String customerContactName;


    /**
	 * 客户电话;来源于base_customer.customer_tel
	 */
    @Excel(name = "客户电话",width = 30,needMerge = true)
    private String customerContactTel;


    /**
	 * 送货地址;来源于base_customer.customer_add
	 */
    @Excel(name = "送货地址", width = 60,needMerge = true)
    private String customerContactAdd;






    /**
	 * 导购员名称;来源于sys_user.user_name
	 */
    @Excel(name = "导购员名称", width = 30,needMerge = true)
    private String guideName;


    /**
	 * 订单状态:1-未审核-WAITCHECK;2-已审核-AUDITED-;99-已作废-INVALID
	 */
    @Excel(name = "订单状态", replace = {"未审核_1", "已审核_2","已作废_99"},needMerge = true)
    private Integer orderState;



    /**
	 * 审核人
	 */
    @Excel(name = "审核人",needMerge = true)
    private String checkUserName;


    /**
	 * 审核时间;format:yyyy-MM-dd HH:mm:ss
	 */
    @Excel(name = "审核时间",width = 30,  exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date checkDate;



    /**
	 * 订单类型:1-产品-PRODUCT;2-辅料-ACCES
	 */
    @Excel(name = "订单状态", replace = {"产品_1", "辅料_2"},needMerge = true)
    private Integer orderType;



    /**
	 * 安装日期;format:yyyy-MM-dd HH:mm:ss
	 */
    @Excel(name = "安装日期",width = 30,  exportFormat = "yyyy-MM-dd",needMerge = true)
    private Date installDate;


    /**
	 * 安装标记:1-未安装-NO;2-已安装-YES
	 */
    @Excel(name = "安装标记", replace = {"未安装_1", "已安装_2"},needMerge = true)
    private Integer installFlag;



    /**
	 * 量尺标记:1-未量尺-NO;2-已量尺-YES
	 */
    @Excel(name = "量尺标记", replace = {"未量尺_1", "已量尺_2"},needMerge = true)
    private Integer rulerFlag;
    /**
     * 创建人名称
     */
    @Excel(name = "创建人",needMerge = true)
    private String createUserName;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date createTime;


    /**
     * 修改人名称
     */
    @Excel(name = "修改人",needMerge = true)
    private String updateUserName;

    /**
     * 修改时间
     */
    @Excel(name = "修改时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date updateTime;

    @Excel(name = "备注", width = 50,needMerge = true)
    protected String remark;
    /**
     * 预订单明细
     */
    @ExcelCollection(name = "预订单明细")
    private List<ProbLineExportVO> probLineExportVOList;
}
